<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/js/plugins/layer/layer.js"></script>
<script src="/js/hplus.min.js?v=4.1.0"></script>
<script type="text/javascript" src="/js/contabs.min.js"></script>
<script src="/js/plugins/pace/pace.min.js"></script>
<script src="/js/plugins/iCheck/icheck.min.js"></script>
<script src="/js/plugins/my97/WdatePicker.js"></script>
<script type="text/javascript">
	function ajax(url,type,data,successCallback,errorCallback){
			$.ajax({
			url:url,
			type:type,
			data:data,
			success:function(res){
				//业务上的结果
					parent.layer.alert(res.msg);
					successCallback(res);
			},
			error:function(res){
				//通用的错误处理
				//系统上的结果
				var jsonObj = JSON.parse(res.responseText);
					parent.layer.alert(jsonObj.msg);
					
				if(errorCallback) errorCallback();
			}
		})
		}
  	function rollPage(pageno){
  		$("#seachForm").append("<input type='hidden' name='pageno' value='"+pageno+"' />");
  		$("#seachForm").submit();
  	}
  	$(document).ready(function(){
  		$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})
  	});
  	if("${msg}"){
  		parent.layer.alert("${msg}");
  	}
</script>